home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / AIAT / Headers / Common / IASort.h < prev    next >
Encoding:
Text File  |  1998-04-16  |  504 b   |  32 lines  |  [TEXT/CWIE]

  1. //// IASort.h
  2. //    Copyright:    © 1994 - 1998 by Apple Computer, Inc., all rights reserved.
  3.  
  4.  
  5. /// just like qsort(), only faster.
  6.  
  7. #pragma once
  8. #ifndef IASort_h
  9. #define IASort_h
  10.  
  11. #pragma import on
  12.  
  13. #if PRAGMA_STRUCT_ALIGN
  14.     #pragma options align=power
  15. #endif
  16.  
  17. #include "IACommon.h"
  18.  
  19. #pragma IA_BEGIN_EXPORTS
  20.  
  21. void IASort(void *A, size_t n, size_t size, int (*cmp)(const void *, const void *));
  22.  
  23. #pragma IA_END_EXPORTS
  24.  
  25. #if PRAGMA_STRUCT_ALIGN
  26.     #pragma options align=reset
  27. #endif
  28.  
  29. #pragma import reset
  30.  
  31. #endif
  32.